Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

{SAVE_LINKS} shortcode LS 2.5

  • Tyaustgel_2588
  • Tyaustgel_2588's Avatar Topic Author
  • Offline
  • Banned
  • Banned
More
8 years 5 months ago #142032 by Tyaustgel_2588
{SAVE_LINKS} shortcode LS 2.5 was created by Tyaustgel_2588
In the latest 2.5 version , when I use the shortcode {CLEARALL} in pstpl files this is translated in

<button type="submit" id="clearall" value="clearall" name="clearall" class="clearall button btn btn-default btn-lg col-xs-4 hidden" data-confirmedby="confirm-clearall" title="Cette action doit être confirmée.">Sortir et effacer vos réponses</button>

BUT as you can see, it is always mentioned with the class hidden which means we can NEVER display it The only way I found is to directly write the code removing the hidden class in order to be display this button ie not to use the keyword .

Is that a bug ? Thanks for your reply.
The topic has been locked.
More
8 years 5 months ago #142047 by jelo
Replied by jelo on topic {SAVE_LINKS} shortcode LS 2.5
Looks like a bug. What template do you use?
Please always mention the version/build of LimeSurvey you use. The latest 2.5. is not specific enough.

I am a bit confused since the topic is about {SAVE_LINKS} but in your post you talk about {CLEARALL}.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 5 months ago #142054 by tpartner
Replied by tpartner on topic {SAVE_LINKS} shortcode LS 2.5
You should be able to overrule the .hidden style by inserting your placeholder in a <div> element with a distinct class - say, "button-div" - and then target that with something in template.css like this (untested):

Code:
#limesurvey .button-div button.hidden {
    display: inline-block;
    position: relative;
    left: auto;
    top: auto;
}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • Tyaustgel_2588
  • Tyaustgel_2588's Avatar Topic Author
  • Offline
  • Banned
  • Banned
More
8 years 5 months ago #142065 by Tyaustgel_2588
Replied by Tyaustgel_2588 on topic {SAVE_LINKS} shortcode LS 2.5
Sorry about thet yes it is about CLEARALL ( save feature not activated in this survey) but I suppose the same will occur for SAVE and SAVE_LINKS keyword

My version : Version 2.50+ Build 160804

Best regards
The topic has been locked.
  • Tyaustgel_2588
  • Tyaustgel_2588's Avatar Topic Author
  • Offline
  • Banned
  • Banned
More
8 years 5 months ago #142069 by Tyaustgel_2588
Replied by Tyaustgel_2588 on topic {SAVE_LINKS} shortcode LS 2.5
Yes I could.. of course. ( has to be tested) but a bit heavy !!!
The topic has been locked.
More
8 years 5 months ago #142074 by jelo
Replied by jelo on topic {SAVE_LINKS} shortcode LS 2.5
Report the bug. I can reproduce it with demo.limesurvey.org here.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose